ADP\BaseVersion\Includes\CartProcessor\FreeAutoAddItemsController S

Total Complexity 39
Dependencies 6
Dependents 1
Total lines 276
Lines of code 171
Logical lines of code 95
Comment lines 32
Methods 12
Properties 3

Methods 12

Method Rating Maintainability Complexity Lines of code
insertRemovedFreeMiniCartItemStubInCart()
A
49 7 32
handleFreeCartItemUpdate()
S
53 6 24
insertRemovedFreeCartItemStubInCart()
S
51 5 27
handleFreeCartItemRemove()
S
55 5 20
handleRestoreDeletedItems()
S
56 4 19
calculateExistingHashesForItemStubs()
S
66 3 9
recalculateStoredFreeItemsAfterQtyUpdate()
S
62 2 11
withCart()
S
74 2 5
onCreateOrder()
S
67 2 8
__construct()
S
73 1 5
withContext()
S
81 1 3
installHooks()
S
65 1 8